package com.getpebble.android.main.sections.notifications.activity;

import android.app.ActionBar;
import android.graphics.drawable.ColorDrawable;
import android.os.Build.VERSION;
import android.os.Bundle;
import android.view.Window;
import com.getpebble.android.R;
import com.getpebble.android.main.sections.support.activity.SingleFragmentActivity;

public class AppSelectionActivity extends SingleFragmentActivity {
    public void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        ActionBar actionBar = getActionBar();
        if (actionBar != null) {
            actionBar.setBackgroundDrawable(new ColorDrawable(getResources().getColor(R.color.orange_actionbar_color)));
        }
        Window window = getWindow();
        if (VERSION.SDK_INT >= 21 && window != null) {
            window.setStatusBarColor(getResources().getColor(R.color.orange_statusbar_color));
        }
    }

    public int getLayoutId() {
        return R.layout.activity_all_apps;
    }

    public int getTitleStringId() {
        return R.string.notifications_title;
    }
}
